 <template>
    <div>
        <div class="mint-msgbox-wrapper now1" style="position: absolute; z-index:20001;display:block">
            <div class="mint-msgbox">
                <div class="top">
                    <div class="top1">你的金币不足，去充值？</div>
                    <div class="top2">目前金币：1000</div>
                    <div class="top3">
                        <div class="top31">
                            1000金币
                            <div>
                                ￥10.00元
                            </div>
                        </div>
                        <div class="top31">
                            2000金币
                            <div>
                                ￥20.00元
                            </div>
                        </div>
                        <div class="top31">
                            3000金币
                            <div>
                                ￥30.00元
                            </div>
                        </div>
                        <div class="top31">
                            5000金币
                            <div>
                                ￥50.00元
                            </div>
                        </div>
                        <div class="top31">
                            10000金币
                            <div>
                                ￥100.00元
                            </div>
                        </div>
                        <div class="top31">
                            2000金币
                            <div>
                                ￥200.00元
                            </div>
                        </div>
                    </div>
                </div>
                <div class="bottom">
                    <div class="title">
                        选择支付方式
                    </div>
                    <div class="weixin"><img class="img1" src="../../img/Game/微信.png" alt="">
                        <span>微信支付</span><img class="img2" src="../../img/Game/未选中.png" alt=""></div>
                    <div class="zhifubao"><img class="img1" src="../../img/Game/支付宝.png" alt="">
                        <span>支付宝支付</span><img class="img2" src="../../img/Game/未选中.png" alt=""></div>
                             <div class="btn">
                <mt-button size="small" type="danger"  @click="mod()" >取消</mt-button>
            <mt-button size="small" class="queren" type="primary" @click="purchase()">确认</mt-button>
        </div>
                </div>
                   
            </div>
        </div>
        <div class="v-modal" style=z-index:2000;display:block @click="mod()"></div>
    </div>
</template>
<script>
import { MessageBox } from "mint-ui";
export default {
    data() {
        return {};
    },
    created() {},
    methods: {
        mod: function() {
            var modal = document.querySelector(".v-modal");
            var now1 = document.querySelector(".now1");
            modal.style.display = "none";
            now1.style.display = "none";
        }
    }
};
</script>
<style  lang="scss" scoped>
.mint-msgbox {
    width: 5.88rem;
    height:  11.49rem;
    background: url("../../img/Game/充值背景.png") no-repeat;
    background-size: 5.88rem 9.949rem;

    .top {
        padding-top: 2.3rem;
        text-align: center;
        color: #ffe4e4;
        .top1 {
            padding-bottom: 0.3rem;
            font-size: 0.32rem;
        }
        .top2 {
            padding-bottom: 0.1rem;
            font-size: 0.3rem;
        }
        .top3 {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            padding: 0.3rem;
            .top31 {
                line-height: 0.4rem;
                width: 1.58rem;
                height: 0.86rem;
                font-size: 0.3rem;
                border: 1px solid #ffe4e4;
                margin-bottom: 0.1rem;
                div {
                    font-size: 0.2rem;
                }
            }
            .top31:hover {
                border: 1px solid #ea5959;
                background: #ea5959;
            }
        }
    }
    .bottom {
        padding: 0.7rem 0.3rem;
        font-size: 0.24rem;

        .title {
        }
        .weixin,
        .zhifubao {
            margin-top: 0.1rem;
            span {
                position: relative;
                top: -0.1rem;
            }
        }
        .img1 {
            height: 0.48rem;
            width: 0.48rem;
        }
        .img2 {
            height: 0.3rem;
            width: 0.3rem;
            float: right;
        }
    }
  .btn{
      button{
              width: 40%;
      }
       padding: 0.2rem 0.3rem;
       .queren{
           float: right;
       }
  }
}
</style>
